.index{
  .custom-page-bgImg{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    position: absolute;
    background-size: 100% auto;
    //background-image: var(--page-bg-img);
    background-repeat: no-repeat;
    background-position: top;
  }
  &-nav{
  }

  &-custom{
    position: relative;
    &__bg{
      top: 0;
      left: 0;
      right: 0;
      overflow: hidden;
      //position: relative;
      position: absolute;
      background-size: 100% auto;
      //background-image: var(--page-bg-img);
      background-repeat: no-repeat;
      background-position: bottom;
    }
  }
}

.nav-bar{
  z-index: 90;
  display: flex;
  position: fixed;
  background-size: 100% auto;
  background-image: var(--page-bg-img);
  background-repeat: no-repeat;
  &--height{
    height: 72px;
  }
  &__area{
    flex: 1;
    padding: 20px;
    //left: 0;
    //right: 0;
    //padding: 0 10px;
    //position: absolute;
  }
  &__logo{
    width: 174px;
    height: 64px;
    margin-right: 10px;
  }
  &__input{
    flex: 1;
    color: #969696;
    //height: 100%;
    height: 64px;
    font-size: 28px;
    background: rgba(249, 249, 249, .9);
    padding-left: 24px;
    border-radius: 100px;
  }
}


.tab-nav{
  left: 0;
  color: rgba(51, 51, 51, 0.8);
  width: 100%;
  height: 72px;
  z-index: 10;
  display: flex;
  position: fixed;
  overflow: hidden;
  align-items: stretch;
  background-size: 100% auto;
  background-color: #fff;
  background-image: var(--page-bg-img);
  background-repeat: no-repeat;
  //background-position: center;


  &--height{
    height: 72px;
  }
  &__left{
    width: 120px;
    font-size: 30px;
  }
  &__cty{
    $cty: &;
    &-scroll{
      width: 540px;
      height: 100%;
      white-space: nowrap;
    }
    &-list{
      height: 100%;
      display: flex;
      align-items: center;
    }
    &-item{
      height: 100%;
      padding: 0 24px;
      display: inline-flex;
      position: relative;
      font-weight: bold;
      align-items: center;
      justify-content: center;
    }
    &-img{
      height: 32px;
    }
    &-text{
      line-height: 1;
    }
    &-active{
      font-size: 34px;
      #{$cty}-img{
        height: 40px;
      }
    }
  }
  &__right{
    width: 90px;
    font-size: 24px;
    box-shadow: -20px 0 12px -16px rgba(0, 0, 0, .26);
  }
  &__left,&__right{
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

$goods-wrap: goods-wrap;
.#{$goods-wrap}{
  display: flex;
  flex-direction: column;
  &__head{
    padding-top: $page_margin;
  }
  &__title{
    position: relative;
    font-size: 36px;
    &:after{
      content: "";
      left: 0;
      right: 0;
      bottom: 0;
      height: 16px;
      z-index: -1;
      position: absolute;
      background: linear-gradient(270deg, #ebde36, #fbc211);
      border-radius: 16px;
    }
  }
  &__more{
    color: #aaa;
    font-size: 24px;
  }
}

.#{$goods-wrap}__two{
  .#{$goods-wrap}__box{
    margin: 0 $page_margin;
    padding: 0 20px;
    display: flex;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
    background: #fff;
    border-radius: 20px;
    flex-direction: column;
  }

  .#{$goods-wrap}__body{
    padding: 20px 0;
  }
}
.notice-animation{
  position: fixed;
  right: 5px;
  top: 70%;
  z-index: 9;
  -webkit-transition: all .3s ease 0s;
  transition: all .3s ease 0s;
  .animate__animated{
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    .animate__infinite{
      animation-iteration-count: infinite;
    }
  }
  .expire{
    width: 75px;
    height: 75px;
    background: url(../../../assets/images/expire_bg.png) no-repeat;
    background-size: 75px 75px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    align-items: center;
    padding-top: 5px;
  }
  .animate__tada{
    -webkit-animation-name: tada-data-v-cf91b296;
    animation-name: tada-data-v-cf91b296;
  }
}
